from django.urls import re_path
from . import views

urlpatterns = [
    re_path(r'^gatherings/$',views.ActivityListView.as_view()),
    re_path(r'^gatherings/(?P<id>\d+)/$',views.ActivityRetrieveView.as_view()),
    re_path(r'^gatherings/(?P<id>\d+)/join/$',views.ActivityGatheringView.as_view()),
]